package com.zdyg.inputtask.project.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单平台端子表
 * </p>
 *
 * @author ANGE
 * @since 2019-12-12
 */
public class BOrderTerraceItem extends Model<BOrderTerraceItem> {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 部门ID
     */
    private Integer deptId;

    /**
     * 订单ID
     */
    private Integer orderId;

    /**
     * 订单状态：0待发布订单，1待确定订单，2选择中标方，3参与投标订单，4待签约订单，5进行中订单，6已完成订单，7待评价订单
     */
    private Integer tradeStatus;

    /**
     * 行业分类
     */
    private String industryClassify;

    /**
     * 招投标截止日期
     */
    private String tendererTime;

    /**
     * 工程截止日期
     */
    private String projectTime;

    /**
     * 工程周期(项目工程截止日期减去项目招投标截止日期)单位：天
     */
    private String projectPeriod;

    /**
     * 项目预算金额
     */
    private BigDecimal budgetPrice;

    /**
     * 成果交付标准
     */
    private String deliveryNorm;

    /**
     * 是否需要发票:0否，1是
     */
    private Integer isInvoice;

    /**
     * 逻辑删除(0未删除 1已删除)
     */
    private Integer deleted;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 最后修改时间
     */
    private Date gmtModified;

    /**
     * 修改金额说明
     */
    private String explains;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getTradeStatus() {
        return tradeStatus;
    }

    public void setTradeStatus(Integer tradeStatus) {
        this.tradeStatus = tradeStatus;
    }

    public String getIndustryClassify() {
        return industryClassify;
    }

    public void setIndustryClassify(String industryClassify) {
        this.industryClassify = industryClassify;
    }

    public String getTendererTime() {
        return tendererTime;
    }

    public void setTendererTime(String tendererTime) {
        this.tendererTime = tendererTime;
    }

    public String getProjectTime() {
        return projectTime;
    }

    public void setProjectTime(String projectTime) {
        this.projectTime = projectTime;
    }

    public String getProjectPeriod() {
        return projectPeriod;
    }

    public void setProjectPeriod(String projectPeriod) {
        this.projectPeriod = projectPeriod;
    }

    public BigDecimal getBudgetPrice() {
        return budgetPrice;
    }

    public void setBudgetPrice(BigDecimal budgetPrice) {
        this.budgetPrice = budgetPrice;
    }

    public String getDeliveryNorm() {
        return deliveryNorm;
    }

    public void setDeliveryNorm(String deliveryNorm) {
        this.deliveryNorm = deliveryNorm;
    }

    public Integer getIsInvoice() {
        return isInvoice;
    }

    public void setIsInvoice(Integer isInvoice) {
        this.isInvoice = isInvoice;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    public String getExplains() {
        return explains;
    }

    public void setExplains(String explains) {
        this.explains = explains;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "BOrderTerraceItem{" +
        "id=" + id +
        ", deptId=" + deptId +
        ", orderId=" + orderId +
        ", tradeStatus=" + tradeStatus +
        ", industryClassify=" + industryClassify +
        ", tendererTime=" + tendererTime +
        ", projectTime=" + projectTime +
        ", projectPeriod=" + projectPeriod +
        ", budgetPrice=" + budgetPrice +
        ", deliveryNorm=" + deliveryNorm +
        ", isInvoice=" + isInvoice +
        ", deleted=" + deleted +
        ", gmtCreate=" + gmtCreate +
        ", gmtModified=" + gmtModified +
        ", explains=" + explains +
        "}";
    }
}
